package com.haoze.nurse.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Timestamp;

@Table(name = "EMR_FILE_INDEX")
public class EmrFileIndexEntity {

	@Id
	@Column(name = "EMR_FILE_ID")
	private String emrFileId;

	@Column(name = "DATA_VERSION")
	private Integer dataVersion;

	@Column(name = "GMT_CREATE")
	private Timestamp gmtCreate;

	@Column(name = "GMT_MODIFY")
	private Timestamp gmtModify;

	@Column(name = "HOSPITAL_ID")
	private String hospitalId;

	@Column(name = "OUTPAT_NUM")
	private String outpatNum;

	@Column(name = "INPAT_NUM")
	private String inpatNum;

	@Column(name = "EMR_FILE_NAME")
	private String emrFileName;

	@Column(name = "EMR_FILE_CODE")
	private String emrFileCode;

	@Column(name = "PATIENT_IDCARD")
	private String patientIdcard;

	@Column(name = "DEPT_ID")
	private String deptId;

	@Column(name = "DOCTOR_ID")
	private String doctorId;

	@Column(name = "TPL_CLASS_ID")
	private String tplClassId;

	@Column(name = "DEL_FLAG")
	private String delFlag;

	@Column(name = "FILE_CONTENT_ID")
	private String fileContentId;

	@Column(name = "LOCK_FLAG")
	private String lockFlag;

	@Column(name = "LOCK_DOCTOR_ID")
	private String lockDoctorId;

	@Column(name = "LOCK_DATE")
	private Timestamp lockDate;

	@Column(name = "TPL_ID")
	private String tplId;

	@Column(name = "STATUS")
	private String status;

	@Column(name = "COMMIT_DATE")
	private Timestamp commitDate;

	@Column(name = "COMMIT_DOCTOR_ID")
	private String commitDoctorId;

	@Column(name = "DUR_DIS_FLAG")
	private String durDisFlag;

	@Column(name = "DD_EMR_FILE_ID")
	private String ddEmrFileId;

	@Column(name = "DD_DATE")
	private Timestamp ddDate;

	@Column(name = "AUDIT_DATE1")
	private Timestamp auditDate1;

	@Column(name = "AUDIT_DATE2")
	private Timestamp auditDate2;

	@Column(name = "AUDIT_DOCTOR_ID1")
	private String auditDoctorId1;

	@Column(name = "AUDIT_DOCTOR_ID2")
	private String auditDoctorId2;

	@Column(name = "BED_NO")
	private String bedNo;//床号

	@Column(name = "FILE_VERSION")
	private String fileVersion;

	@Column(name = "DELETE_USER_ID")
	private String deleteUserId;//删除人id

	@Column(name = "FILE_DATETIME")
	private Timestamp fileDatetime; // 文件日期时间

	@Column(name = "PUSH_FLAG")
	private String pushFlag; // 推送标识，0未推送，1已推送

	public String getEmrFileId() {
		return emrFileId;
	}

	public void setEmrFileId(String emrFileId) {
		this.emrFileId = emrFileId == null ? null : emrFileId.trim();
	}

	public Integer getDataVersion() {
		return dataVersion;
	}

	public void setDataVersion(Integer dataVersion) {
		this.dataVersion = dataVersion;
	}

	public Timestamp getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Timestamp gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Timestamp getGmtModify() {
		return gmtModify;
	}

	public void setGmtModify(Timestamp gmtModify) {
		this.gmtModify = gmtModify;
	}

	public String getHospitalId() {
		return hospitalId;
	}

	public void setHospitalId(String hospitalId) {
		this.hospitalId = hospitalId == null ? null : hospitalId.trim();
	}

	public String getOutpatNum() {
		return outpatNum;
	}

	public void setOutpatNum(String outpatNum) {
		this.outpatNum = outpatNum == null ? null : outpatNum.trim();
	}

	public String getInpatNum() {
		return inpatNum;
	}

	public void setInpatNum(String inpatNum) {
		this.inpatNum = inpatNum == null ? null : inpatNum.trim();
	}

	public String getEmrFileName() {
		return emrFileName;
	}

	public void setEmrFileName(String emrFileName) {
		this.emrFileName = emrFileName == null ? null : emrFileName.trim();
	}

	public String getEmrFileCode() {
		return emrFileCode;
	}

	public void setEmrFileCode(String emrFileCode) {
		this.emrFileCode = emrFileCode == null ? null : emrFileCode.trim();
	}

	public String getPatientIdcard() {
		return patientIdcard;
	}

	public void setPatientIdcard(String patientIdcard) {
		this.patientIdcard = patientIdcard == null ? null : patientIdcard.trim();
	}

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId == null ? null : deptId.trim();
	}

	public String getDoctorId() {
		return doctorId;
	}

	public void setDoctorId(String doctorId) {
		this.doctorId = doctorId == null ? null : doctorId.trim();
	}

	public String getTplClassId() {
		return tplClassId;
	}

	public void setTplClassId(String tplClassId) {
		this.tplClassId = tplClassId == null ? null : tplClassId.trim();
	}

	public String getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag == null ? null : delFlag.trim();
	}

	public String getFileContentId() {
		return fileContentId;
	}

	public void setFileContentId(String fileContentId) {
		this.fileContentId = fileContentId == null ? null : fileContentId.trim();
	}

	public String getLockFlag() {
		return lockFlag;
	}

	public void setLockFlag(String lockFlag) {
		this.lockFlag = lockFlag == null ? null : lockFlag.trim();
	}

	public String getLockDoctorId() {
		return lockDoctorId;
	}

	public void setLockDoctorId(String lockDoctorId) {
		this.lockDoctorId = lockDoctorId == null ? null : lockDoctorId.trim();
	}

	public Timestamp getLockDate() {
		return lockDate;
	}

	public void setLockDate(Timestamp lockDate) {
		this.lockDate = lockDate;
	}

	public String getTplId() {
		return tplId;
	}

	public void setTplId(String tplId) {
		this.tplId = tplId == null ? null : tplId.trim();
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status == null ? null : status.trim();
	}

	public Timestamp getCommitDate() {
		return commitDate;
	}

	public void setCommitDate(Timestamp commitDate) {
		this.commitDate = commitDate;
	}

	public String getCommitDoctorId() {
		return commitDoctorId;
	}

	public void setCommitDoctorId(String commitDoctorId) {
		this.commitDoctorId = commitDoctorId == null ? null : commitDoctorId.trim();
	}

	public String getDurDisFlag() {
		return durDisFlag;
	}

	public void setDurDisFlag(String durDisFlag) {
		this.durDisFlag = durDisFlag == null ? null : durDisFlag.trim();
	}

	public String getDdEmrFileId() {
		return ddEmrFileId;
	}

	public void setDdEmrFileId(String ddEmrFileId) {
		this.ddEmrFileId = ddEmrFileId == null ? null : ddEmrFileId.trim();
	}

	public Timestamp getDdDate() {
		return ddDate;
	}

	public void setDdDate(Timestamp ddDate) {
		this.ddDate = ddDate;
	}

	public Timestamp getAuditDate1() {
		return auditDate1;
	}

	public void setAuditDate1(Timestamp auditDate1) {
		this.auditDate1 = auditDate1;
	}

	public Timestamp getAuditDate2() {
		return auditDate2;
	}

	public void setAuditDate2(Timestamp auditDate2) {
		this.auditDate2 = auditDate2;
	}

	public String getAuditDoctorId1() {
		return auditDoctorId1;
	}

	public void setAuditDoctorId1(String auditDoctorId1) {
		this.auditDoctorId1 = auditDoctorId1 == null ? null : auditDoctorId1.trim();
	}

	public String getAuditDoctorId2() {
		return auditDoctorId2;
	}

	public void setAuditDoctorId2(String auditDoctorId2) {
		this.auditDoctorId2 = auditDoctorId2 == null ? null : auditDoctorId2.trim();
	}

	public String getBedNo() {
		return bedNo;
	}

	public void setBedNo(String bedNo) {
		this.bedNo = bedNo;
	}

	public String getFileVersion() {
		return fileVersion;
	}

	public void setFileVersion(String fileVersion) {
		this.fileVersion = fileVersion;
	}

	public String getDeleteUserId() {
		return deleteUserId;
	}

	public void setDeleteUserId(String deleteUserId) {
		this.deleteUserId = deleteUserId;
	}

	public Timestamp getFileDatetime() {
		return fileDatetime;
	}

	public void setFileDatetime(Timestamp fileDatetime) {
		this.fileDatetime = fileDatetime;
	}

	public String getPushFlag() {
		return pushFlag;
	}

	public void setPushFlag(String pushFlag) {
		this.pushFlag = pushFlag;
	}
}
